home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
KSLIB11.ARJ
/
DEMO2.C
< prev
next >
Wrap
Text File
|
1991-10-14
|
474b
|
24 lines
/*
*
* Program to show the simplest form of window creation. It pops up a
* window, then waits for a keypress, then exits. Because it's the first
* window on the screen, you do not need to specify POPUP, as the DOS
* screen is automatically restored on exit.
*
*/
#include <stdio.h>
#include "stdinc.h"
#include "wn.h"
#include "kb.h"
void main(void);
void
main()
{
WNopen(25,5,55,15,BLACK|BKGR(LIGHTGRAY),DOUBLE,"Press any key");
KBgetch();
}